package com.itic.ht.cms.studyrecord.persistence.mapper;

import com.itic.ht.cms.studyrecord.persistence.model.StudyRecord;
import com.itic.ht.cms.studyrecord.persistence.model.StudyRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StudyRecordMapper {
    int countByExample(StudyRecordExample example);

    int deleteByExample(StudyRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(StudyRecord record);

    int insertSelective(StudyRecord record);

    List<StudyRecord> selectByExample(StudyRecordExample example);

    StudyRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") StudyRecord record, @Param("example") StudyRecordExample example);

    int updateByExample(@Param("record") StudyRecord record, @Param("example") StudyRecordExample example);

    int updateByPrimaryKeySelective(StudyRecord record);

    int updateByPrimaryKey(StudyRecord record);
}